{if empty($value)}
<input type="text" value="" id="{$field}" name="{$field}" data-role="tagsinput" />
{else/}
<input type="text" value="{$value|implode=',',###}" id="{$field}" name="{$field}" data-role="tagsinput" />
{/if}